package com.lineage.server.serverpackets;

public class S_PacketBoxLoc extends ServerBasePacket {
  private byte[] _byte;
  
  public static final int SEND_LOC = 111;
  
  public S_PacketBoxLoc(String name, int map, int x, int y, int zone) {
    this._byte = null;
    writeC(250);
    writeC(111);
    writeS(name);
    writeH(map);
    writeH(x);
    writeH(y);
    writeD(zone);
  }
  
  public byte[] getContent() {
    if (this._byte == null)
      this._byte = getBytes(); 
    return this._byte;
  }
  
  public String getType() {
    return getClass().getSimpleName();
  }
}
